package org.carabiner.infinitest;

import java.awt.Color;
import java.io.File;

/**
 * 
 * @author <a href="mailto:benrady@gmail.com"Ben Rady</a>
 */
public class InfinitestSettings
{
  public static final Color PASSING_COLOR = new Color(0x359b35);
  public static final String FAILURES_DETECTED_MSG = "Infinitest - Failures Detected @ ";
  public static final String TESTS_PASSED_MSG = "Infinitest - All Tests Passed @ ";
  public static final String TESTS_PAUSED = "Infinitest - Tests Paused @ ";

  public static File getBuildPath()
  {
    String path = System.getProperty("org.carabiner.infinitest.settings.buildPath");
    if (path == null)
      return new File("classes");
    return new File(path);
  }

  public static int getRefreshRate()
  {
    return 2500;
  }
}
